package com.shuiyun.jtt.message.attributes;

import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.Data;

/**
 * @author shuiyun
 * @program device-simulator
 * @description 定位附加-属性区域超速 0x11 17
 * @date 2022-04-25 23:49
 **/
@Data
public class LocationAreaOverSpeed {

    @FieldValue(type = DataType.BYTE, desc = "位置类型")
    private Integer type;

    @FieldValue(type = DataType.DWORD, desc = "区域或线路ID",checkMethod={"type","=","0"})
    private Integer areaId;


}
